package com.nd.Utils;

import lombok.Data;

/**
 * @Description:
 * @author: Aaron
 * @create: 2021-06-07 17:13
 **/
@Data
public class WhatStatus {
    private String orderStatusText;

    public WhatStatus(short status) {
        if (status == 101) {
            orderStatusText = "未付款";
        } else if (status == 102) {
            orderStatusText = "已取消";
        } else if (status == 103) {
            orderStatusText = "已取消（系统）";
        } else if (status == 201) {
            orderStatusText = "已付款";
        } else if (status == 202) {
            orderStatusText = "退款中";
        } else if (status == 203) {
            orderStatusText = "已退款";
        } else if (status == 301) {
            orderStatusText = "已发货";
        } else if (status == 401) {
            orderStatusText = "已收货";
        } else if(status == 402) {
            orderStatusText = "已收货（系统）";
        }
    }
}
